<template>
  <div class="page">
    <!-- 表单 -->

    <a-card>
      <com-vxe-table
        :columns="columns"
        :axios="page"
        :fromItem="fromItem"
        :formData="formData"
        :initialize="initialize"
        ref="xTable"
      >
      </com-vxe-table>
    </a-card>
  </div>
</template>

<script>
//流程接口
import { flowJkPage } from "../api/dayPort";
import comVxeTable from "@/views/everydayCheck/components/vxe-table/com-vxe-table";
export default {
  components: { comVxeTable, flowJkPage },
  name: "dengjiPage",

  data() {
    return {
      columns: [
      {
          type: "checkbox",
          width:'60'
        },
        {
          type: "seq",
          title: "序号",
          width: "60",
        },
        {
          field: "fqymc",
          title: "企业名称",
          width: "200",
        },
        {
          field: "fsxmc",
          title: "事项名称",
          width: "350",
        },
        {
          field: "fslbh",
          title: "受理编号",
          width: "150",
        },
        {
          field: "fslsj",
          title: "接收时间",
          width: "150",
        },
        {
          field: "fhjmc",
          title: "环节名称",
          width: "150",
        },
        {
          field: "ffsrmc",
          title: "发送人",
          width: "150",
        },
        {
          field: "ffssj",
          title: "发送时间",
          width: "150",
        },
        {
          field: "fdbr",
          title: "待办人",
          width: "150",
        },
        {
          field: "fblzt",
          title: "办理状态",
          width: "150",
        },
      ],
      queryParams: {},
      config: {},
      data: [],
      allAlign: null,
      formData: {
        fsxmc: "",
        fqymc: "",
        fslsj: "",
        fjzrq: "",
      },
      fromItem: [
        {
          field: "fhjmc",
          title: "环节名称",
          type:'input',
          itemRender: {},
          slots: { default: "name_item" },
        },
        {
          field: "fsxmc",
          title: "事项名称",
          type:'input',
          itemRender: {},
          slots: { default: "name_item" },
        },
        {
          field: "fqymc",
          title: "企业名称",
          type:'input',
          itemRender: {},
          slots: { default: "name_item" },
          fixed: "right"
        },
        {
          field: "fywflcode",
          title: "科室名称",
          type:'comp-selector',
          compType:'Select',
          options:[{
            label:'药品生产科',
            value:'001002'
          },{
            label:'药品流通科',
            value:'001003'
          },{
            label:'药品注册科',
            value:'001001'
          },{
            label:'医疗器械科',
            value:'002'
          },{
            label:'化妆品科',
            value:'003'
          }],
          itemRender: {},
          slots: { default: "name_item" },
          fixed: "right"
        },
      ],
      page: flowJkPage,
      initialize: {
        // fywflcode: "001002",
        fblzt: "待办",
        // fhjmc: "待复核年度考评",
        onlyCurrentUser: false,
      },
      // fndszbg 填写 大文本
      form: {},
      model: {},
    };
  },
  created() {},
  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>
// @import "../assets/table.less";
@import url("../assets/table.less");
</style>
